home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- DELETE(QUEL) 1/26/79 DELETE(QUEL)
-
-
-
- NAME
- delete - delete tuples from a relation
-
- SYNOPSIS
- _d_e_l_e_t_e tuple_variable [_w_h_e_r_e qual]
-
- DESCRIPTION
- _D_e_l_e_t_e removes tuples which satisfy the qualification _q_u_a_l
- from the relation that they belong to. The _t_u_p_l_e__v_a_r_i_a_b_l_e
- must have been declared to range over an existing relation
- in a previous _r_a_n_g_e statement. _D_e_l_e_t_e does not have a
- _t_a_r_g_e_t__l_i_s_t. The _d_e_l_e_t_e command requires a tuple variable
- from a _r_a_n_g_e statement, and not the actual relation name.
- If the qualification is not given, the effect is to delete
- all tuples in the relation. The result is a valid, but emp-
- ty relation.
-
- To _d_e_l_e_t_e tuples from a relation, you must be the owner of
- the relation, or have _d_e_l_e_t_e permission on the relation.
-
- EXAMPLE
- /* Remove all employees who make over $30,000 */
- range of e is emp
- delete e where e.sal > 30000
-
- SEE ALSO
- destroy(quel), permit(quel), quel(quel), range(quel)
-
- BUGS
-
-
-